package output;

import java.util.List;

import forum.ForumPost;
import forum.ForumTag;

public class StdoutOutput implements Output {

	@Override
	public void outputThread(List<ForumPost> f) throws Exception {
		for (ForumPost fp : f) {
			System.out.println(fp.getForumCategory());
			for (ForumTag ft : fp.getForumTags())
				System.out.println(ft);
			System.out.println(fp.toString());
		}
	}

	public void close() {
	}
}
